package com.xjzd.aop;

import org.aopalliance.intercept.MethodInterceptor;
import org.aopalliance.intercept.MethodInvocation;

public class InterLayerInfoAnnotationInterceptor implements MethodInterceptor {
    @Override
    public Object invoke(MethodInvocation invocation) throws Throwable {
        System.out.println("enter inter-layer");
        Object ret = invocation.proceed();
        System.out.println("exit inter-layer");
        return ret;
    }
}
